package pablo.developer;

import java.io.Serializable;

public class Usuario implements Serializable {
	
	private static final long serialVersionUID = 1L;
	String nombre,surname,nick;
	String password,secretQuestion,secretAnswer;
	String address,zipCode,city,state,country,email,telephone,sipAddress;
	boolean encontrado;
	int idUser;
	public static Usuario getEmpty() {
		return new Usuario("", "", "", "", "", "", "", "", "", "", "", "", "", "",false,0);
	}
	public Usuario(){
		
	}
	public Usuario(String nom,String apel,String nic, String pass, String secretQ, String secretA, 
			            String addr, String zip, String ciudad, String estado, String pais, String mail,
			            String tele, String sipA, boolean enc, int id){
		nombre=nom;
		surname=apel;
		nick=nic;
		password=pass;
		secretQuestion=secretQ;
		secretAnswer=secretA;
		address=addr;
		zipCode= zip;
		city=ciudad;
		state=estado;
		country=pais;
		email=mail;
		telephone=tele;
		sipAddress=sipA;
		encontrado=enc;
		idUser=id;
	}
	public Usuario(String nic, String pass){
		
		password=pass;
		nick=nic;
	
	}
	
	public void setNombre(String nom){
		nombre=nom;
	}
	public String getNombre(){
		return nombre;
	}
	public void setSurname(String apel){
		surname=apel;
	}
	public String getEdad(){
		return surname;
	}
	public void setNick(String nic){
		nick=nic;;
	}
	public String getNick(){
		return nick;
	}
	public void setPassword(String pass){
		password=pass;
	}
	public String getPassword(){
		return password;
	}
	public void setSecretQuestion(String secretQ){
		secretQuestion=secretQ;
	}
	public String getSecretQuestion(){
		return secretQuestion;
	}
	public void setSecretAnswer(String secretA){
		secretAnswer= secretA;
	}
	public String getSecretAnswer(){
		return secretAnswer;
	}
	public void setAddress(String addr){
		address=addr;
	}
	public String getAddress(){
		return address;
	}
	public void setZipCode(String zip){
		zipCode=zip;
	}
	public String getZipCode(){
		return zipCode;
	}
	public void setCity(String ciudad){
		city=ciudad;
	}
	public String getCity(){
		return city;
	}
	public void setState(String estado){
		state=estado;
	}
	public String getState(){
		return state;
	}
	public void setCountry(String pais){
		country=pais;
	}
	public String getCountry(){
		return country;
	}
	public void setEmail(String mail){
		email=mail;
	}
	public String getEmail(){
		return email;
	}
	public void setTelephone(String tele){
		telephone=tele;
	}
	public String getTelephone(){
		return telephone;
	}
	public void setSipAddress(String sipA){
		sipAddress=sipA;
	}
	public String getSipAddress(){
		return sipAddress;
	}
	public boolean getEncontrado(){
		return encontrado;
	}
	public int getIdUser() {
		return idUser;
	}
	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}
	public String getSurname() {
		return surname;
	}
	public void setEncontrado(boolean encontrado) {
		this.encontrado = encontrado;
	}
	
}
